{"version":3,"file":"core_admin_interface.map.js","names":["BX","adminPanel","this","buttons","panel","modifyFormElements","adminFormTools","modifyFormElement","_showMenu","e","CONFIG","MENU","adminShowMenu","BUTTON","active_class","PreventDefault","ready","defer","Init","isFixed","False","prototype","i","length","ID","setButtonMenu","_recountWrapHeight","registerButton","id","config","push","button","bind","delegate","type","isDomNode","hasClass","document","documentElement","Fix","el","bFixed","parentNode","style","height","removeClass","title","message","addClass","userOptions","save","onCustomEvent","addDesktop","CAdminDialog","content_url","content_post","bitrix_sessid","draggable","resizable","btnSave","btnCancel","Show","recalcDesktopSettingsDialog","window","event","col_count","value","current_col_count","parseInt","tableNode","findParent","tag","arItems","findChildren","class","removeChild","col_add","appendChild","create","props","className","children","attrs","width","html","size","maxlength","name","setTitle","p","firstChild","nodeType","replaceChild","createTextNode","insertBefore","adjust","text","offsetHeight","Notify","str","isReady","_args","arguments","apply","NOTIFY","innerHTML","setTimeout","proxy","hideNotify","element","getAttribute","notifyId","ajax","url","method","dataType","data","sessid","Redirect","args","bShift","shiftKey","open","search","location","indexOf","top","href","_reShowWait","closeWait","showWait","isElementNode","util","in_array","toLowerCase","disabled","bSave","waiter_parent","is_relative","pos","bxwaiter","body","bottom","left","right","lastWaitElement","tbl","types","findFormElements","isArray","modifyCheckbox","modifyFile","modifySelect","modifyButton","browser","IsIE","IsIE9","tagName","toUpperCase","Math","random","label","htmlFor","nextSibling","hasAttribute","wrap","multiple","_modified_file_onchange","v","files","s","n","max","lastIndexOf","substring","adminMenu","activeSection","oSections","items","easing","dest","item","fav","dest_cont","bMinimized","currentDest","_admin_fav_callback","result","key","BXTYPEKEY","display","adminFav","refresh","bxprogress","bxover","_ondestdragstop","_ondestdragfinish","node","BXMENUITEM","favName","TEXT","innerText","textContent","TITLE","favNameTitle","add","URL","MODULE_ID","FAV_ID","del","__r","jsDD","refreshDestArea","_ondestdragstart","showDDBlock","_destmsover","_destmsout","proxy_context","hideDDBlock","unbind","_onitemdragstart","NODE","MIRROR","outerHTML","_onitemdrag","x","y","wndSize","GetWindowSize","offsetWidth","leftBorder","scrollLeft","innerWidth","_onitemdragstop","onbxdestdraghover","onbxdestdraghout","onbxdestdragfinish","onbxdestdragstop","registerDest","InitDeferred","adminMenuResizer","_registerItem","showFavorites","fireEvent","GlobalMenuClick","lastId","findChild","attr","scrollBottom","scrollTop","innerHeight","scrollTo","duration","start","opacity","finish","transition","progress","abs","sin","PI","step","state","background","complete","f","animate","itemsStretchScroll","forEach","MSOVERMIRROR","setMinimizedState","setActiveSection","section_id","setOpenedSections","sSections","aSect","split","isPropertySupported","startAnimation","cell","div_id","opening","icon","animation","childrenCont","childNodes","startHeight","stop","overflowY","endAnimation","arrowIcon","divCont","rotateProperty","rotation","scrollHeight","transitions","linear","cssText","toggleSection","level","res","sect","toggleDynSection","padding","module_id","BXLOAD","BXLOAD_AJAX","img","marginLeft","get","lang","admin_mnu_module_id","admin_mnu_menu_id","trim","toggleExecuted","_item_onmouseover","__item_onmouseover","_item_onmouseout","__item_onmouseout","pos1","lastChild","bActive","onbxdragstart","onbxdrag","onbxdragstop","registerObject","itemType","registerItem","startState","min_width","denySave","pos_final","dragger","events","mouseover","bDrag","mouseout","minimizer","click","Minimize","mousedown","eventCancelBubble","Start","Drag","Save","setDraggerPos","GetWindowScrollPos","setUnselectable","cursor","stopCurrentDrag","Maximize","setSelectable","onresize","makeEaseOut","quart","nameToSave","urlToSave","menu_id","callback","urlToSend","addurl","isFunction","alert","post","htmlMenu","menu","setActiveItem","activeItem","itemNameLink","itemNameLinkText","itemText","favMenu","favMenuItems","idx","favItemNameLink","favItemNameLinkText","favItemText","setLastId","titleLinkClick","fav_id","items_id","titleLink","titleNode","BXFAVSET","BXFAVID","BXITEMSID","_titleLinkClickDel","_titleLinkClickAdd","adminHistory","pushSupported","pathname","removeAttribute","onMenuChange","obj","BXVISIBLE","property","text1","text2","IsIE10","IsFirefox","makeEaseInOut","closeHint","adminList","table_id","params","context_ctrl","context_menu","FIX_HEADER","FIX_FOOTER","TABLE","CHECKBOX","CHECKBOX_DISABLED","CHECKBOX_COUNTER","num_checked","bSelectAllChecked","_last_row","garbage","Destroy","LAYOUT","FOOTER","FOOTER_EDIT","FORM","forms","BUTTON_EDIT","BUTTON_DELETE","ACTION_SELECTOR","elements","action","ACTION_BUTTON","ACTION_TARGET","action_target","UpdateCheckboxCounter","tBodies","rows","oncontextmenu","ctrlKey","target","ShowMenu","pageX","clientX","pageY","clientY","RowClick","checkboxList","_checkboxClick","_checkboxCellClick","check","tHead","checked","check_id","addCustomEvent","setAttribute","limit_node","bindDelegate","wndScroll","ReInit","GetAdminList","add_url_param","mode","urlencode","onsuccess","_GetAdminList","onfailure","debug","adminChain","addItems","PostAdminList","remove_url_param","submit","bChecked","UnFix","selectedIndex","Sort","bCheckCtrl","bControl","metaKey","c","cells","SelectRow","EnableActions","tBody","ixStart","min","rowIndex","ixFinish","bSelect","BXROW","SelectAllRows","IsActionEnabled","PopupMenu","currentItem","popupWindow","isShown","close","ShowSettings","CDialog","SaveSettings","sCols","sBy","sOrder","sPageSize","oSelect","list_settings","selected_columns","order_field","order_direction","nav_page_size","bCommon","set_default","WindowManager","Get","send","Close","DeleteSettings","_onpopupmenushow","_onpopupmenuclose","el_row","menuParams","public_frame","showPublicMenu","listAction","actionPopupItems","k","popupItems","isNotEmptyString","ONCLICK","LINK","popupChild","childs","child","childData","buttonRect","getBoundingClientRect","actionPopupObject","getRandomString","closeByEsc","angle","offsetLeft","zIndex","show","adminUiFilter","filterId","init","onApplyFilter","onShow","ctx","promise","grid","Main","autoResolve","toString","fulfill","reload","filterObject","adminUserFilterHandler","fieldId","languageId","selfFolderUrl","control","userSearchWindow","onCustomEntitySelectorOpen","openWindow","floor","screen","onbeforeunload","closeWindow","setSelected","userId","getLabelNode","format","parseJSON","userLabel","setData","getId","adminProductFilterHandler","publicMode","popup","showProductSearchDialog","makeProductSearchDialog","caller","content","GetContent","stopPropagation","siteId","storeId","contentUrl","min_height","position","closeProductSearchDialog","productId","productName","adminUiList","gridId","showTotalCountHtml","serviceUrl","basePageUrl","gridUrl","onMessage","onReloadGrid","onBeforeRequest","onUpdated","bindShowTotalCount","gridObject","onShowTotalCount","response","hasOwnProperty","parentElement","totalCountHtml","preventDefault","SidePanelEvent","SidePanel","MessageEvent","isPlainObject","getData","listActions","eventType","getEventId","listCancelTypes","reloadParams","apply_filter","Reflection","getClass","gridManager","getById","instance","reloadTable","gridData","requestParams","getDataWithPreparedCustomFields","public","slice","FIELDS","rowId","rowData","field","customFields","Object","keys","inputName","index","replace","SendSelected","gridInstance","values","getActionsPanel","getValues","selectedRows","getRows","getSelectedIds","assign","adminSidePanel","Boolean","onSendRequest","checkActionByUrl","urlParams","pair","postParams","sender","getSender","previousSlider","getSlider","previousSliderWindow","getWindow","Slider","addUrl","onOpenPage","destroy","formParams","reloadUrl","listApplyTypes","dictionary","formInstance","IFRAME","IFRAME_TYPE","tabId","getUrl","skipModification","admin","dynamic_mode_show_borders","Instance","optionsOpen","publicSidePanel","allowChangeHistory","setDefaultQueryParams","status","getTopSlider","adminTabControl","unique_name","aTabs","form","backUrl","isSidePanel","isPublicFrame","isActiveConfirm","bInited","bExpandTabs","aTabsDisabled","bPublicMode","PreInit","bSkipInit","tab","CONTENT","EDIT_TABLE","CONTENT_BLOCK","tabs_block","TABS_BLOCK","settings_btn","onclick","footer","setFormDataForSidePanel","onClickSidePanelButtons","reg","test","confirm","denyAction","sidePanel","slider","getSliderByWindow","set","buttonType","Error","submitAjax","createEventTypeInput","dataset","createFormParamsInput","htmlspecialchars","formParamsDom","setPublicMode","currentWindow","ToggleFix","SelectTab","tab_id","jsencode","div","oldHeight","newHeight","contentBlockPaddings","cnt","ShowTab","currentTab","evalGlobal","currentContentBlock","bShow","ShowDisabledTab","NextTab","CurrentTab","ToggleTabs","a","getElementById","DisableTab","EnableTab","ShowWarnings","form_name","warnings","bBefore","td","Image","createElement","hspace","vspace","verticalAlign","src","CloseSettings","sTabs","oFieldsSelect","j","jsUtils","form_settings","sParam","options_url","DisableSettings","request","JCHttpRequest","Action","encodeURIComponent","Send","phpVars","LANGUAGE_ID","EnableSettings","adminViewTabControl","tab_div","oldContentBlock","active_tab","newContentBlock","newContentTable","bFound","ReplaceAnchor","RebuildTabs","_get","bStart","disable","enable","put","arIgnoreParams","link","htmlspecialcharsback","history","pushState","FixOffsets","BXFIXER","CFixerTHead","CFixer","Stop","limit","position_top","position_bottom","position_right","bStarted","gutter","clingTop","clingBottom","clingRight","_scroll_listener","_recalc_pos","_UnFix","removeCustomEvent","node_pos","_Fix","_w","_cling_offset_correction","bRefix","_check_scroll","clingPoint","offsetSize","_ReFix","isNodeInDom","isNodeHidden","additive","GetWindowInnerSize","scrollRight","superclass","constructor","mirror","mirror_thead","extend","clone","cssFloat","_clear_mirror","OPENER","bindElement","pseudo_el","COpener","DIV","TYPE","ACTIVE_CLASS","PUBLIC_FRAME","CLOSE_ON_CLICK","close_on_click","Toggle","AdminFilter","filter_id","aRows","_this","oVisRows","oOptions","curID","FindParentObject","missingRows","tableWrap","table","startContentHeight","currentLoadedTab","presetsDeleted","requesting","clearing","folded","saving","filteredId","activeTabId","SetFoldedView","toggleClass","SetSwitcherTitle","switcher","InitFilter","vREmpty","isObjectEmpty","diff","row","insertCell","tail","admFltWrap","Row","unshift","messFilterLess","tr","insertRow","colSpan","DisplayNonEmptyRows","ChangeViewDependVisible","onAdminListLoaded","InitFirst","EDITABLE","admFltTab","InitFilteredTab","flterId","GetByPresetId","ApplyFilter","UnSetActive","SetActive","SetFiltered","InitOpenedTab","tabIdUri","tabIdSes","tabIds","openedTabObj","openedTabId","SetActiveTab","SaveFilterParams","presetId","countVR","CountVisibleRows","ToggleFilterRow","ToggleButtonsHideAll","ToggleButtonsShowAll","SetBottomStyle","UrlAddParams","sParams","retUrl","lastUrlSymb","substr","OnSet","oButt","filterUrl","GetParameters","GetObj","ShowWheel","waiter","func","clearInterval","intervalID","setInterval","call","OnClear","UnSetFiltered","GetFormButton","GetFilterFields","StartAnimation","SetFilterFields","EndAnimation","clearButton","setFilterButton","saveAs","fields","SaveInsteadPreset","ShowSaveOptsWnd","common","SaveToBase","SaveAs","Delete","MarkPresetAsDeleted","DeleteFromBase","GetClearFields","ReplaceFilterTab","oldId","newId","registerUrl","SetFilteredBG","tabObj","tabIdBegin","arPrevSelTabs","empty","bCreated","formOpts","onKeyPress","fsTable","ClearButtons","SetButtons","save_filter_name","parentWindow","adjustSizeEx","focus","SaveOptsWndKeyPress","keyCode","strOpt","bCurrentFiltered","DeleteHtml","newActiveTab","defaultTab","preset_id","resultId","NAME","PRESET_ID","COMMON","undefined","AddHtml","ClearParameters","onchange","l","options","selected","GetRowByElement","checkboxesIdx","elName","IsAllRowElementsHidden","bWasSelected","option","IsFormElementHidden","IsOpera","clientHeight","clientWidth","bAllHidden","bSetVisibilityByRow","IsFilterFill","selPParent","inputFrom","inputTo","dateFrom","dateTo","today","Date","year","getFullYear","month","getMonth","day","getDate","dayW","getDay","parseDate","FORMAT_DATE","FORMAT_DATETIME","formatDate","val","CheckActive","bVisible","counter","bottomSeparator","contentDiv","ToggleButtonShow","ToggleButtonHide","on","skipControl","delimiter","ret","short_id","SaveRowsOption","DeleteFilterRow","cookie","sRows","jsUserOptions","SaveOption","SaveOpenTab","SaveFilteredId","ToggleAllFilterRows","SaveMenuShow","menuItems","SetMenu","SettMenuItemClick","objItem","toggleArrow","scrollOffset","SettMenuShow","itemsIdx","ADJUST_ON_CLICK","CHECKED","SEPARATOR","GetMenu","fltObj","filter","GetObjId","tabObjId","_RegisterDD","tabsBlock","newTab","delTab","timeout","Inner","elClass","wrapType","wrapClass","elChildren","Element","Input","wraplabel","Cell","newCell","cloneNode","nodeName","nodeValue","input","helpIcon","nextInput","findNextSibling","calendarInput","calendarBlock","boxSizing","alingment","_addon","divId","_addItems","main_chain","InitializeAdmin","addGlobalFeatures","workarea"],"sources":["core_admin_interface.js"],"mappings":"CAAC,WAED,KAAMA,GAAGC,WACR,OAIDD,GAAGC,WAAa,WAEfC,KAA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